package org.github.config;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.github.core.cache.EnumCache;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@EnableMethodCache(basePackages = "org.github")
@Configuration
public class CacheConfig {
    @Bean
    public EnumCache enumCache() {
        return new EnumCache("org.github");
    }
}
